vcRaycastSensor

Raycast Sensor detects the closest component intersecting with a finite ray in the 3D world.

See in: Overview

Module: vcBehaviors

Parent: vcBehavior

Children -

Referenced by: -

Properties

Learn how to use properties here. The properties are also inherited from the parent class.

NameTypeAccessDescription
BoolSignalvcBooleanSignalRWGets or sets the signal used for signaling
See more
whether or not a component has intersected the ray within a distance tolerance set by the DetectionThreshold property.
ComponentSignalvcComponentSignalRWGets or sets the signal used for signaling the component detected by the ray.
DetectionContainervcContainerRWGets or sets if the sensor only detects components in a specific container type behavior.
DetectionThresholdRealRWGets or sets the distance at which the RangeSignal property will start to send distance information for a detected component.
FramevcFrameFeatureRWGets or sets the Frame feature that is referenced as the physical location of the sensor. The ray is cast along the positive Z-axis of its location.
MaxRangeRealRWGets or sets the length of the ray cast by the sensor.
RangeSignalvcRealSignalRWGets or sets the signal used for signaling the range of a detected component to sensor's location.
SampleTimeRealRWGets or sets the time interval (in seconds) for detecting components when the UseSampling property has a True value.
ShowRayBooleanRWGets or sets the visibility of the ray in the 3D world. The ray is rendered as a red line.
TestParentBooleanRWGets or sets if the sensor can detect geometry contained in the sensor's node. Generally, a True value is used when you want to detect self collisions.
UpdateSceneBooleanRWGets or sets the rendering of the scene in the 3D world when a component triggers the sensor.
See more
Generally, a True value is used in cases where there are many moving parts, whereas a False value should be used if only the sensor's component moves during a simulation.
UseSamplingBooleanRWGets or sets the rate at which the sensor detects components.
See more
A True value means detection occurs at a sampling interval defined by the SampleTime property. A False value means detection occurs when a signal is received from a connected Boolean Signal (pulse mode).